package com.cw.jeeyt.dao.model.security;

import java.io.Serializable;
import java.util.List;

import javax.persistence.Column;
import javax.persistence.Table;

import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * 资源信息Do
 *
 * @author chenw
 * @date 2020-03-18 20:05:22
 */
@Table(name = "security_resource")
@Getter
@Setter
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class SecurityResourceDo extends SecurityResourceKeyDo implements Serializable {
    private static final long serialVersionUID = 1240247925858656260L;
    /** 资源名称 */
    @Column(name = "res_name")
    private String resName;
    /** 资源标题 */
    @Column(name = "res_title")
    private String resTitle;
    /** 资源图标 */
    @Column(name = "res_icon")
    private String resIcon;
    /** 资源排序 */
    @Column(name = "res_order")
    private Integer resOrder;
    /** 资源url */
    @Column(name = "res_url")
    private String resUrl;
    /** 父节点id */
    @Column(name = "parent_id")
    private Long parentId;
    /** 描述 */
    @Column(name = "comment")
    private String comment;
    /** 是否菜单 */
    @Column(name = "is_menu")
    private String isMenu;
    /** 是否可见 */
    @Column(name = "is_view")
    private String isView;
    /** 按钮集合 */
    @Column(name = "btn_list")
    private String btnList;
    /** 创建人 */
    @Column(name = "create_by")
    private Long createBy;
    /** 创建时间 */
    @Column(name = "create_date")
    private java.util.Date createDate;
    /** 修改人 */
    @Column(name = "update_by")
    private Long updateBy;
    /** 修改时间 */
    @Column(name = "update_date")
    private java.util.Date updateDate;
    /** 子资源 */
    List<SecurityResourceDo> subList;
}
